Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Collections.​Generic.​IAsyncEnumerator`1

Assembly: System.Runtime

Supports a simple asynchronous iteration over a generic collection.

Properties

public T
Current
Gets the element in the collection at the current position of the enumerator.

Methods

MoveNextAsync​()
Returns A <see cref="T:System.Threading.Tasks.ValueTask`1" /> that will complete with a result of <c>true</c> if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end of the collection.
Advances the enumerator asynchronously to the next element of the collection.